package com.wangsd.web.report.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wangsd.web.report.entity.ServiceBusiness;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author generator
 * @since 2019-10-15
 */
public interface ServiceBusinessService extends IService<ServiceBusiness> {

    List<Map> selectAllByUserCode(String code);

    void addOrUpdate(ServiceBusiness serviceBusiness);

    IPage<ServiceBusiness> selectList(Integer pageNum, Integer pageSize, ServiceBusiness serviceBusiness, String code);

    List<ServiceBusiness> selectByManufacturerId(Long id);
}
